<extend name="template/base_index" />

<block name="area_header">

    <link rel="stylesheet" href="__CSS__/uc_i.css">
</block>

<block name="area_body">
    <div class="usercenter">
        <a class="weui_cell weui_cells_access " href="{:U('UserCenter/userinfo')}">
            <div class="weui_cell_bd weui_cell_primary">
                <div class="user_img"><img src="{$avatar}" width="50px" height="50px"></div>
                <div class="user_info"><span class="user_name">{$nickname}</span></br><span class="user_money">{$money}</span></div>
            </div>

            <div class="user_detail"><i class="fa fa-angle-right"></i></div>
        </a>
    </div>
    <div class="weui_cells weui_cells_access">
        <a class="weui_cell" href="{:U('group/mygroup',array('status'=>1))}">
            <div class="weui_cell_bd weui_cell_primary">
                <p>全部</p>
            </div>
            <div class="weui_cell_ft"></div>
        </a>
        <a class="weui_cell" href="{:U('group/mygroup',array('status'=>2))}">
            <div class="weui_cell_bd weui_cell_primary">
                <p>正在拼团</p>
            </div>
            <div class="weui_cell_ft"></div>
        </a>
        <a class="weui_cell" href="{:U('group/mygroup',array('status'=>3))}">
            <div class="weui_cell_bd weui_cell_primary">
                <p>拼团成功</p>
            </div>
            <div class="weui_cell_ft"></div>
        </a>
        <a class="weui_cell" href="{:U('group/mygroup',array('status'=>4))}">
            <div class="weui_cell_bd weui_cell_primary">
                <p>拼团失败</p>
            </div>
            <div class="weui_cell_ft"></div>
        </a>

    </div>
    <div class="footermenu">
        <ul>
            <li><center><a href="{:U('Home/Index/index')}"><img src="__IMG__/indeximg.png" width="25px" height="25px"><p>首页</p></a></center></li>
            <li><center><a href="{:U('Home/Ps/index')}"><img src="__IMG__/zhongchou.png" width="25px" height="25px"><p>育儿知识</p></a></center></li>
            <li><center><a href="{:U('Home/User/add_good')}" class="add_good"><img src="__IMG__/addgood.png" width="20px" height="20px"><p>发布</p></a></center></li>
            <li><center><a href="{:U('Home/Group/index')}"><img src="__IMG__/pintuan.png" width="25px" height="25px"><p>拼团</p></a></center></li>
            <li><center><a href="{:U('Home/UserCenter/index')}"><img src="__IMG__/userimg.png" width="25px" height="25px"><p>个人中心</p></a></center></li>

        </ul>
    </div>
    <script src="__JS__/jquery-weui.min.js"></script>

</block>